package main

import (
	"flag"

	"github.com/google/gopacket/pcap"
)

func main() {
	path := flag.String("path", "/Users/liruopeng/Downloads", "pcap path")
	flag.Parse()

	handler, err := pcap.OpenOffline(*path)
	_ = handler
	_ = err
	defer handler.Close()
	// eth := layers.EthernetType
	// fmt.Println(eth)
	// packetSource := gopacket.NewPacketSource(handler, handler.LinkType())
}
